﻿#ifndef PST_PSTSPLITTER_H
#define PST_PSTSPLITTER_H
#include <QObject>
#include "PstSplitterHandle.h"

namespace pst
{
    class PstSplitter : public QSplitter
    {
    public:
        PstSplitter(Qt::Orientation orientation, QWidget* parent = nullptr)
            : QSplitter(orientation, parent) {}

    protected:
        QSplitterHandle* createHandle() override
        {
            return new PstSplitterHandle(orientation(), this);
        }
    };

#endif // !PST_SPLITTER_H
}
